<script>
	export default {
		onLaunch: function() {
			// console.log('App Launch')
		},
		onShow: function() {
			// console.log('App Show')
			uni.onWindowResize((res) => {
			    console.log('变化后的窗口宽度=' + res.size.windowWidth)
			    console.log('变化后的窗口高度=' + res.size.windowHeight)
			})
		},
		onHide: function() {
			// console.log('App Hide')
		}
	};
</script>

<style>
	/*每个页面公共css */
	@import "./static/iconfont.css";

	view,
	text,
	swiper,
	swiper-item,
	image,
	navigator {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

	page {
		--themeColor: #eb4450;
		font-size: 29rpx;
		height: 100vh;
	}

	image {
		width: 100%;
		height: 100%;
	}
</style>
